#
# Be sure to run `pod lib lint NDStudentModule.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'NDStudentModule'
  s.version          = '1.0'
  s.summary          = 'A short description of NDStudentModule.'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = <<-DESC
组件化中学生模块，负责学生的业务处理
                       DESC

  s.homepage         = 'https://gitee.com/weiyanlong/NDStudentModule'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'weiyanlong' => 'weiyanlong@ndmooc.com' }
  s.source           = { :git => 'https://gitee.com/weiyanlong/NDStudentModule.git', :tag => s.version.to_s }
  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

  s.ios.deployment_target = '8.0'
  s.swift_version = "5.0"
  # s.source_files = 'NDStudentModule/Classes/**/*'
  s.subspec 'Classes' do |ss|
      ss.source_files = 'NDStudentModule/Classes/*.swift'
      ss.subspec 'Tools' do |sss|
          sss.source_files = 'NDStudentModule/Classes/Tools/*.swift'
          # ss.dependency 'Login/ViewController' 如果文件之间有依赖
      end
  end

   s.resource_bundles = {
     'NDStudentModule' => ['NDStudentModule/Assets/*.png']
   }
  s.dependency 'NDCommonModule', '1.23'
end
